﻿//------------------------------------------------------------------------------
// <pcdd-entitiy>
//     彩票游戏实体类库
//     彩种房间实体对象
// </pcdd-entitiy>
//------------------------------------------------------------------------------

using Dapper;
using System;

namespace CL.Game.Entity
{
    /// <summary>
    /// CT_LotteryRoom 实体
    /// </summary>
    [Table("CT_LotteryRoom")]
    public class LotteryRoomEntity
    {
        [Key]
        /// <summary>
        /// 房间标识
        /// </summary>
        public long RoomID { set; get; }
        
        /// <summary>
        /// 房间编号
        /// </summary>
        public string RoomCode { set; get; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { set; get; }

        /// <summary>
        /// 房间最大数
        /// </summary>
        public int RoomNums { set; get; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime ModifyTime { set; get; }

        /// <summary>
        /// 创建会员
        /// </summary>
        public long CreateUser { set; get; }

        /// <summary>
        /// 彩种
        /// </summary>
        public int LotteryCode { set; get; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { set; get; }

        /// <summary>
        /// 房主
        /// </summary>
        public long RoomAuthor { set; get; }

        /// <summary>
        /// 房间名称
        /// </summary>
        public string RoomName { set; get; }

        /// <summary>
        /// 房间公告
        /// </summary>
        public string RoomNotice { set; get; }

        /// <summary>
        /// 发言频率：以秒为单位
        /// </summary>
        public long Frequency { set; get; }

        /// <summary>
        /// 允许聊天设置：all,full,mobile,bank,order
        /// all：无限制条件
        /// full：实名认证
        /// mobile：绑定手机号码
        /// bank：绑定银行卡
        /// order：有购彩订单
        /// </summary>
        public string ChatSet { set; get; }

    }
}
